package org.example.enums;

/**
 * 红包状态枚举
 */
public enum RedPacketStatus {
    NOT_STARTED(0,"活动未开始"),
    AVAILABLE(1,"可以抢红包"),
    FINISHED(2,"活动已结束");

    private final int code;
    private final String message;

    RedPacketStatus(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
